home *** CD-ROM | disk | FTP | other *** search
/ Hyper Stacks 1994 May / Hyper Stacks (Pacific HiTech)(1994)[Mac].iso / Science / Chemistry / Titrate / card_5303.txt < prev    next >
Encoding:
Text File  |  1991-11-23  |  12.2 KB  |  658 lines

  1. -- card: 5303 from stack: in
  2. -- bmap block id: 6189
  3. -- flags: 0000
  4. -- background id: 5821
  5. -- name: instructions
  6.  
  7.  
  8. -- part 1 (field)
  9. -- low flags: 81
  10. -- high flags: 0002
  11. -- rect: left=231 top=29 right=202 bottom=476
  12. -- title width / last selected line: 0
  13. -- icon id / first selected line: 0 / 0
  14. -- text alignment: 0
  15. -- font id: 3
  16. -- text size: 14
  17. -- style flags: 256
  18. -- line height: 18
  19. -- part name: f1
  20. ----- HyperTalk script -----
  21. on mouseup
  22.   global fone
  23.   hide card field "f1"
  24.   put 0 into fone
  25. end mouseup
  26.  
  27.  
  28.  
  29. -- part 4 (button)
  30. -- low flags: 00
  31. -- high flags: 0000
  32. -- rect: left=141 top=26 right=62 bottom=193
  33. -- title width / last selected line: 0
  34. -- icon id / first selected line: 0 / 0
  35. -- text alignment: 1
  36. -- font id: 0
  37. -- text size: 12
  38. -- style flags: 0
  39. -- line height: 16
  40. -- part name: f1
  41. ----- HyperTalk script -----
  42. on mouseUp
  43.   global fone
  44.   global ftwo
  45.   global fthree
  46.   global ffour
  47.   global ffive
  48.   global fsix
  49.  
  50.   if fone = 1 then
  51.     hide card field "f1"
  52.     put 0 into fone
  53.   else
  54.     show card field "f1"
  55.     put 1 into fone
  56.   end if
  57.   hide card field "f2"
  58.   hide card field "f3"
  59.   hide card field "f4"
  60.   hide card field "f5"
  61.   hide card field "f6"
  62.   put 0 into ftwo
  63.  
  64.   put 0 into ffour
  65.   put 0 into ffive
  66.   put 0 into fsix
  67.   put 0 into fthree
  68.   put 0 into ftwo
  69. end mouseUp
  70.  
  71.  
  72.  
  73. -- part 5 (field)
  74. -- low flags: 81
  75. -- high flags: 0002
  76. -- rect: left=254 top=53 right=327 bottom=507
  77. -- title width / last selected line: 0
  78. -- icon id / first selected line: 0 / 0
  79. -- text alignment: 0
  80. -- font id: 3
  81. -- text size: 14
  82. -- style flags: 256
  83. -- line height: 18
  84. -- part name: f2
  85. ----- HyperTalk script -----
  86. on mouseup
  87.   global ftwo
  88.   hide card field "f2"
  89.   put 0 into ftwo
  90. end mouseup
  91.  
  92.  
  93.  
  94. -- part 6 (button)
  95. -- low flags: 00
  96. -- high flags: 0000
  97. -- rect: left=208 top=202 right=238 bottom=260
  98. -- title width / last selected line: 0
  99. -- icon id / first selected line: 0 / 0
  100. -- text alignment: 1
  101. -- font id: 0
  102. -- text size: 12
  103. -- style flags: 0
  104. -- line height: 16
  105. -- part name: f2
  106. ----- HyperTalk script -----
  107. on mouseUp
  108.   global fone
  109.   global ftwo
  110.   global fthree
  111.   global ffour
  112.   global ffive
  113.   global fsix
  114.   hide card field "f4"
  115.   hide card field "f1"
  116.   hide card field "f3"
  117.   hide card field "f5"
  118.   hide card field "f6"
  119.   put 0 into fthree
  120.   put 0 into ffour
  121.   put 0 into ffive
  122.   put 0 into fsix
  123.   put 0 into fone
  124.   if ftwo = 1 then
  125.     hide card field "f2"
  126.     put 0 into ftwo
  127.   else
  128.     show card field "f2"
  129.     put 1 into ftwo
  130.   end if
  131.  
  132. end mouseUp
  133.  
  134.  
  135.  
  136. -- part 7 (field)
  137. -- low flags: 81
  138. -- high flags: 0001
  139. -- rect: left=153 top=22 right=329 bottom=496
  140. -- title width / last selected line: 0
  141. -- icon id / first selected line: 0 / 0
  142. -- text alignment: 0
  143. -- font id: 3
  144. -- text size: 14
  145. -- style flags: 256
  146. -- line height: 18
  147. -- part name: f3
  148. ----- HyperTalk script -----
  149. on mouseup
  150.   global fthree
  151.   hide card field "f3"
  152.   put 0 into fthree
  153. end mouseup
  154.  
  155.  
  156.  
  157. -- part 8 (field)
  158. -- low flags: 81
  159. -- high flags: 0001
  160. -- rect: left=0 top=26 right=228 bottom=455
  161. -- title width / last selected line: 0
  162. -- icon id / first selected line: 0 / 0
  163. -- text alignment: 0
  164. -- font id: 3
  165. -- text size: 14
  166. -- style flags: 256
  167. -- line height: 18
  168. -- part name: f4
  169. ----- HyperTalk script -----
  170. on mouseup
  171.   global ffour
  172.   hide card field "f4"
  173.   put 0 into ffour
  174. end mouseup
  175.  
  176.  
  177.  
  178. -- part 10 (field)
  179. -- low flags: 81
  180. -- high flags: 0001
  181. -- rect: left=8 top=23 right=245 bottom=461
  182. -- title width / last selected line: 0
  183. -- icon id / first selected line: 0 / 0
  184. -- text alignment: 0
  185. -- font id: 3
  186. -- text size: 14
  187. -- style flags: 256
  188. -- line height: 18
  189. -- part name: f6
  190. ----- HyperTalk script -----
  191. on mouseup
  192.   global fsix
  193.   hide card field "f6"
  194.   put 0 into fsix
  195. end mouseup
  196.  
  197.  
  198.  
  199. -- part 11 (button)
  200. -- low flags: 00
  201. -- high flags: 0000
  202. -- rect: left=3 top=85 right=121 bottom=55
  203. -- title width / last selected line: 0
  204. -- icon id / first selected line: 0 / 0
  205. -- text alignment: 1
  206. -- font id: 0
  207. -- text size: 12
  208. -- style flags: 0
  209. -- line height: 16
  210. -- part name: f3
  211. ----- HyperTalk script -----
  212. on mouseUp
  213.   global fone
  214.   global ftwo
  215.   global fthree
  216.   global ffour
  217.   global ffive
  218.   global fsix
  219.   if fthree = 1 then
  220.     hide card field "f3"
  221.     put 0 into fthree
  222.   else
  223.     show card field "f3"
  224.     put 1 into fthree
  225.   end if
  226.   hide card field "f2"
  227.   hide card field "f1"
  228.   hide card field "f4"
  229.   hide card field "f5"
  230.   hide card field "f6"
  231.   put 0 into ftwo
  232.  
  233.   put 0 into ffour
  234.   put 0 into ffive
  235.   put 0 into fsix
  236.   put 0 into fone
  237.   put 0 into ftwo
  238. end mouseUp
  239.  
  240.  
  241.  
  242. -- part 12 (button)
  243. -- low flags: 00
  244. -- high flags: 0000
  245. -- rect: left=3 top=220 right=256 bottom=55
  246. -- title width / last selected line: 0
  247. -- icon id / first selected line: 0 / 0
  248. -- text alignment: 1
  249. -- font id: 0
  250. -- text size: 12
  251. -- style flags: 0
  252. -- line height: 16
  253. -- part name: f4
  254. ----- HyperTalk script -----
  255. on mouseUp
  256.   global ffour
  257.   global fone
  258.   global ftwo
  259.   global fthree
  260.   global ffour
  261.   global ffive
  262.   global fsix
  263.   if ffour = 1 then
  264.     hide card field "f4"
  265.     put 0 into ffour
  266.   else
  267.     show card field "f4"
  268.     put 1 into ffour
  269.   end if
  270.   hide card field "f2"
  271.   hide card field "f1"
  272.   hide card field "f3"
  273.   hide card field "f5"
  274.   hide card field "f6"
  275.  
  276.   put 0 into fthree
  277.   put 0 into ftwo
  278.   put 0 into ffive
  279.   put 0 into fsix
  280.   put 0 into fone
  281. end mouseUp
  282.  
  283.  
  284.  
  285. -- part 13 (button)
  286. -- low flags: 00
  287. -- high flags: 0000
  288. -- rect: left=253 top=58 right=94 bottom=305
  289. -- title width / last selected line: 0
  290. -- icon id / first selected line: 0 / 0
  291. -- text alignment: 1
  292. -- font id: 0
  293. -- text size: 12
  294. -- style flags: 0
  295. -- line height: 16
  296. -- part name: f5
  297. ----- HyperTalk script -----
  298. on mouseUp
  299.   global fone
  300.   global ftwo
  301.   global fthree
  302.   global ffour
  303.   global ffive
  304.   global fsix
  305.   if ffive = 1 then
  306.     hide card field "f5"
  307.     put 0 into ffive
  308.   else
  309.     show card field "f5"
  310.     put 1 into ffive
  311.   end if
  312.   hide card field "f2"
  313.   hide card field "f1"
  314.   hide card field "f3"
  315.   hide card field "f4"
  316.   hide card field "f6"
  317.   put 0 into ftwo
  318.   put 0 into fthree
  319.  
  320.   put 0 into ffour
  321.   put 0 into fsix
  322.   put 0 into fone
  323. end mouseUp
  324.  
  325.  
  326.  
  327. -- part 14 (button)
  328. -- low flags: 00
  329. -- high flags: 0000
  330. -- rect: left=6 top=157 right=193 bottom=58
  331. -- title width / last selected line: 0
  332. -- icon id / first selected line: 0 / 0
  333. -- text alignment: 1
  334. -- font id: 0
  335. -- text size: 12
  336. -- style flags: 0
  337. -- line height: 16
  338. -- part name: f6
  339. ----- HyperTalk script -----
  340. on mouseUp
  341.   global fone
  342.   global ftwo
  343.   global fthree
  344.   global ffour
  345.   global ffive
  346.   global fsix
  347.   if fsix = 1 then
  348.     hide card field "f6"
  349.     put 0 into fsix
  350.   else
  351.     show card field "f6"
  352.     put 1 into fsix
  353.   end if
  354.   hide card field "f2"
  355.   hide card field "f1"
  356.   hide card field "f3"
  357.   hide card field "f4"
  358.   hide card field "f5"
  359.   put 0 into ftwo
  360.   put 0 into fthree
  361.  
  362.   put 0 into ffour
  363.   put 0 into ffive
  364.   put 0 into fone
  365. end mouseUp
  366.  
  367.  
  368.  
  369. -- part 15 (button)
  370. -- low flags: 00
  371. -- high flags: 0000
  372. -- rect: left=136 top=255 right=276 bottom=193
  373. -- title width / last selected line: 0
  374. -- icon id / first selected line: 0 / 0
  375. -- text alignment: 1
  376. -- font id: 0
  377. -- text size: 12
  378. -- style flags: 0
  379. -- line height: 16
  380. -- part name: New Button
  381. ----- HyperTalk script -----
  382. on mouseUp
  383.   send mouseup to card button "f2"
  384. end mouseUp
  385.  
  386.  
  387.  
  388. -- part 16 (button)
  389. -- low flags: 00
  390. -- high flags: 0000
  391. -- rect: left=108 top=82 right=172 bottom=148
  392. -- title width / last selected line: 0
  393. -- icon id / first selected line: 0 / 0
  394. -- text alignment: 1
  395. -- font id: 0
  396. -- text size: 12
  397. -- style flags: 0
  398. -- line height: 16
  399. -- part name: New Button
  400. ----- HyperTalk script -----
  401. on mouseUp
  402.   send mouseup to card button "f3"
  403. end mouseUp
  404.  
  405.  
  406.  
  407. -- part 17 (button)
  408. -- low flags: 00
  409. -- high flags: 0000
  410. -- rect: left=105 top=199 right=219 bottom=148
  411. -- title width / last selected line: 0
  412. -- icon id / first selected line: 0 / 0
  413. -- text alignment: 1
  414. -- font id: 0
  415. -- text size: 12
  416. -- style flags: 0
  417. -- line height: 16
  418. -- part name: New Button
  419. ----- HyperTalk script -----
  420. on mouseUp
  421.   send mouseup to card button "f6"
  422. end mouseUp
  423.  
  424.  
  425.  
  426. -- part 18 (button)
  427. -- low flags: 00
  428. -- high flags: 0000
  429. -- rect: left=124 top=277 right=300 bottom=208
  430. -- title width / last selected line: 0
  431. -- icon id / first selected line: 0 / 0
  432. -- text alignment: 1
  433. -- font id: 0
  434. -- text size: 12
  435. -- style flags: 0
  436. -- line height: 16
  437. -- part name: New Button
  438. ----- HyperTalk script -----
  439. on mouseUp
  440.   send mouseup to card button "f4"
  441. end mouseUp
  442.  
  443.  
  444.  
  445. -- part 19 (button)
  446. -- low flags: 00
  447. -- high flags: 0000
  448. -- rect: left=191 top=110 right=134 bottom=223
  449. -- title width / last selected line: 0
  450. -- icon id / first selected line: 0 / 0
  451. -- text alignment: 1
  452. -- font id: 0
  453. -- text size: 12
  454. -- style flags: 0
  455. -- line height: 16
  456. -- part name: New Button
  457. ----- HyperTalk script -----
  458. on mouseUp
  459.   send mouseup to card button "f5"
  460. end mouseUp
  461.  
  462.  
  463.  
  464. -- part 22 (button)
  465. -- low flags: 00
  466. -- high flags: 8003
  467. -- rect: left=332 top=302 right=333 bottom=482
  468. -- title width / last selected line: 0
  469. -- icon id / first selected line: 0 / 0
  470. -- text alignment: 1
  471. -- font id: 0
  472. -- text size: 12
  473. -- style flags: 0
  474. -- line height: 16
  475. -- part name: return to program
  476. ----- HyperTalk script -----
  477. on mouseUp
  478.   put 1 into x
  479.   repeat until x = 7
  480.     hide card field x
  481.     put x+1 into x
  482.   end repeat
  483.   pop card
  484. end mouseUp
  485.  
  486.  
  487.  
  488. -- part 20 (button)
  489. -- low flags: 00
  490. -- high flags: 0000
  491. -- rect: left=243 top=242 right=319 bottom=283
  492. -- title width / last selected line: 0
  493. -- icon id / first selected line: 0 / 0
  494. -- text alignment: 1
  495. -- font id: 0
  496. -- text size: 12
  497. -- style flags: 0
  498. -- line height: 16
  499. -- part name: New Button
  500. ----- HyperTalk script -----
  501. on mouseUp
  502.   show card field "f7"
  503.  
  504. end mouseUp
  505.  
  506.  
  507.  
  508. -- part 21 (field)
  509. -- low flags: 81
  510. -- high flags: 0001
  511. -- rect: left=15 top=26 right=338 bottom=498
  512. -- title width / last selected line: 0
  513. -- icon id / first selected line: 0 / 0
  514. -- text alignment: 1
  515. -- font id: 3
  516. -- text size: 20
  517. -- style flags: 256
  518. -- line height: 26
  519. -- part name: f7
  520. ----- HyperTalk script -----
  521. on mouseup
  522.   hide card field "f7"
  523. end mouseup
  524.  
  525.  
  526.  
  527. -- part 9 (field)
  528. -- low flags: 81
  529. -- high flags: 0002
  530. -- rect: left=207 top=0 right=342 bottom=488
  531. -- title width / last selected line: 0
  532. -- icon id / first selected line: 0 / 0
  533. -- text alignment: 0
  534. -- font id: 3
  535. -- text size: 14
  536. -- style flags: 256
  537. -- line height: 18
  538. -- part name: f5
  539. ----- HyperTalk script -----
  540. on mouseup
  541.   global ffive
  542.   hide card field "f5"
  543.   put 0 into ffive
  544. end mouseup
  545.  
  546.  
  547.  
  548. -- part contents for card part 1
  549. ----- text -----
  550.  
  551. 1.This sketch represents  
  552.    a burette and flask in
  553.    a titration experiment.
  554.    Liquid from the burette
  555.    (NaOH) is added to the
  556.    solution in the flask
  557.    (0.10M HCl) until the  
  558.    indicator changes color.
  559.  
  560.  
  561. -- part contents for card part 5
  562. ----- text -----
  563.  
  564.  
  565.  
  566.  
  567. 2.  Click on this button
  568.      before starting any
  569.      titration run or you will
  570.      not get a color change.
  571.      The button will be 
  572.      highlighted when the
  573.      indicator has been added.
  574.  
  575. -- part contents for card part 10
  576. ----- text -----
  577. 6.  When done with a trial,
  578.   you can restart with the
  579.   new samples of the same   
  580.   chemicals (redo the same
  581.    NaOH solution), by clicking 
  582.   here.  After hitting this 
  583.   button remember to add 
  584.   indicator by clicking on the 
  585.   "indicator"  button.
  586.  
  587.  
  588.  
  589.  
  590. -- part contents for card part 8
  591. ----- text -----
  592.  
  593.  
  594.  
  595. 4.  Watch for a "color" change
  596.   here.  This will occur only if
  597.   you have  added enough NaOH 
  598.   to neutralize the acid and have 
  599.   added indicator ( you must 
  600.   click on the "indicator"
  601.   button.
  602.  
  603.  
  604.  
  605.  
  606.  
  607.  
  608.  
  609. -- part contents for card part 7
  610. ----- text -----
  611. 3.  Click on these buttons to add     
  612.   the indicated volume of NaOH   
  613.   solution.  Clicking on the top 
  614.   button will deliver 2.5 ml of 
  615.   NaOH to the flask.  The middle 
  616.   button gives 1.0 ml and the
  617.   1 drop button gives 1/18th of
  618.   a ml.  
  619.       The larger volumes are fast,
  620.   but can overshoot the "end
  621.   point"  (where the color just
  622.   changes).   It may take more 
  623.   than one run to get the exact
  624.   volume of NaOH needed to
  625.   cause the color change.
  626.      
  627.  
  628. -- part contents for card part 9
  629. ----- text -----
  630.  
  631.  
  632.  
  633. 5.   This represents the
  634.     volume of NaOH used.  
  635.     This number changes when
  636.     any of the #3 buttons are
  637.     clicked on.  The goal of
  638.     this pgm. is to find out,
  639.     as fast as possible,  
  640.     exactly (¬±.20 ml) what    
  641.     volume is needed to cause 
  642.     the color change
  643.  
  644.      Clicking on the 1 drop           
  645.      button gives 1/18th ml.
  646.  
  647.  
  648. -- part contents for card part 21
  649. ----- text -----
  650.  
  651.  
  652. Click on the "done"
  653. button when you believe you
  654. have the exact volume¬†(¬±.20 ml)
  655. of NaOH needed to bring about
  656. the color change
  657.  
  658. click here when ready